package cn.shengchao.qywx.infrastrure.service.impl;

import cn.shengchao.examstar.rpc.wecom.req.RuleDataPageQuery;
import cn.shengchao.qywx.infrastrure.mapper.QywxRuleMainMapper;
import cn.shengchao.qywx.infrastrure.po.QywxRuleMain;
import cn.shengchao.qywx.infrastrure.service.QywxRuleMainService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class QywxRuleMainServiceImpl extends ServiceImpl<QywxRuleMainMapper, QywxRuleMain> implements QywxRuleMainService{
    @Override
    public List<QywxRuleMain> selectRuleMainListForPage(RuleDataPageQuery query) {
        return baseMapper.selectRuleMainListForPage(query);
    }

    @Override
    public long selectRuleMaxPriority() {
        return baseMapper.selectRuleMaxPriority();

    }
}
